/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package metricmaster.gui;

import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import metricmaster.gui.projectlist.ProjectListPanel;

/**
 *
 * @author markblanda
 */
public class MainPanel extends JPanel {
    private ProjectListPanel projectListPanel;
    private TabPanel tabPanel;
    
    public MainPanel() {
        setLayout(new BorderLayout());
        projectListPanel = new ProjectListPanel();
        tabPanel = new TabPanel();
        add(projectListPanel, BorderLayout.WEST);
        add(tabPanel, BorderLayout.CENTER);
    }
    
    public static void main(String[] args) {
        JFrame frame = new JFrame("Test");
        frame.setLocation(100,  100);
        frame.add(new MainPanel());
        frame.pack();
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
